package br.schindler.android.wallpaper.milkyway;

import java.io.IOException;

import javax.microedition.khronos.opengles.GL10;

import android.content.Context;

public class BackGround extends Planet {

	/**
	 * 
	 * @param r
	 * @param context
	 * @throws IOException
	 */
	public BackGround(float r, Context context)
			throws IOException {
		super(new Sun(r), context, null);
	}
	
	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * br.schindler.android.wallpaper.milkyway.Planet#drawFrame(javax.microedition
	 * .khronos.opengles.GL10, float)
	 */
	@Override
	public void drawFrame(GL10 gl, float t) {
		Planet.sphere.setCulling(false);
		super.drawFrame(gl, t);
		Planet.sphere.setCulling(true);
	}

}
